# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-jedi
# Don't bump pkgver before checking if it's compatible with py3-language-server
pkgver=0.18.0
pkgrel=2
pkgdesc="Awesome autocompletion and static analysis library for Python"
url="https://jedi.readthedocs.io"
arch="noarch"
license="MIT"
depends="python3 py3-parso"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/j/jedi/jedi-$pkgver.tar.gz"
options="!check" # Broken
builddir="$srcdir/jedi-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4fcb10174505a95bb750b9336d9ad6457070935ba3c231ab2b253b2db76c64edc328f54554cf8ef909bc7f3b47588d33774125345dab599b937a6d4b51b0402b  jedi-0.18.0.tar.gz"
